package com.vend.common.constant

/**
 * Created by glendal on 2022/01/24.
 * 路由常量的路径定义
 */
object RouterConstant {
    //main组件模块的路由注册
    private const val MAIN_PARENT_PATH = "/main/"
    const val MAIN_HOME = "${MAIN_PARENT_PATH}homeActivity"
    const val MAIN_SPLASH = "${MAIN_PARENT_PATH}splashActivity"
    const val MAIN_AREA = "${MAIN_PARENT_PATH}area"


    //User主键模块的路由注册
    private const val USER_PARENT_PATH = "/user/"
    const val USER_HOME = "${USER_PARENT_PATH}userFragment"
    const val USER_HOME_ACTIVITY = "${USER_PARENT_PATH}userActivity"
    const val USER_LOGIN_ACTIVITY = "${USER_PARENT_PATH}LoginActivity"



    //Trade主键模块的路由注册
    private const val TRAD_PARENT_PATH = "/trade/"
    const val TRAD_LIST_ACTIVITY = "${TRAD_PARENT_PATH}TradeListActivity"
    const val TRAD_DETAIL_ACTIVITY = "${TRAD_PARENT_PATH}TradeDetailActivity"



    //good主键模块的路由注册
    private const val GOOD_PARENT_PATH = "/good/"
    const val GOOD_LIST_FRAGMENT = "${GOOD_PARENT_PATH}GoodFragment"
    const val GOOD_DETAIL_ACTIVITY = "${GOOD_PARENT_PATH}GoodDetailActivity"
    //方便显示测试界面
    const val GOOD_DETAIL_ACTIVITY_TEST = "${GOOD_PARENT_PATH}GoodDetailActivityTest"


    //shop主键模块的路由注册
    private const val SHOP_PARENT_PATH = "/shop/"
    const val SHOP_LIST_FRAGMENT = "${SHOP_PARENT_PATH}ShopListFragment"
    //方便显示测试界面
    const val SHOP_LIST_ACTIVITY_TEST = "${SHOP_PARENT_PATH}ShopListActivity"
}